package cn.dcp.muck.service.impl;

import cn.dcp.muck.common.service.CrudService;
import cn.dcp.muck.entity.SysDict;
import cn.dcp.muck.mapper.SysDictMapper;
import cn.dcp.muck.service.SysDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class SysDictServiceImpl extends CrudService<SysDictMapper, SysDict> implements SysDictService {
	@Autowired
	private SysDictMapper sysDictMapper;

    @Override
    public SysDict queryObject(String id){
        return sysDictMapper.get(id);
    }

	@Override
	public List<SysDict> queryList(Map<String, Object> map){
		return sysDictMapper.queryList(map);
	}

	@Override
	public void deleteById(String id){
		sysDictMapper.deleteById(id);
	}
	
	@Override
	public void delete(SysDict sysDict){
		sysDictMapper.delete(sysDict);
	}
	
}
